projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bf6ad3
)
a11y tests: Avoid deprecation warnings
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 3 May 2014 00:59:00 +0000
(20:59 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 3 May 2014 00:59:00 +0000
(20:59 -0400)
We can't drop the index-based AtkTable methods unless we change
the output format, so just ignore the deprecations for now.
testsuite/a11y/accessibility-dump.c
patch
|
blob
|
history
diff --git
a/testsuite/a11y/accessibility-dump.c
b/testsuite/a11y/accessibility-dump.c
index 80b62c2a0d5c3606b5c4a13fd23b0538c2f8ad3f..eb90477ad07f462bba129dbb5a93074f19cf04a2 100644
(file)
--- a/
testsuite/a11y/accessibility-dump.c
+++ b/
testsuite/a11y/accessibility-dump.c
@@
-605,6
+605,7
@@
dump_atk_table (AtkTable *table,
g_string_append_printf (string, "%*s", depth + DEPTH_INCREMENT, "");
for (j = 0; j < atk_table_get_n_columns (table); j++)
{
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
int id = atk_table_get_index_at (table, i, j);
obj = atk_object_ref_accessible_child (ATK_OBJECT (table), id);
@@
-615,6
+616,7
@@
dump_atk_table (AtkTable *table,
atk_table_get_row_at_index (table, id) == i ? "✓" : "⚠",
atk_table_get_column_at_index (table, id) == j ? "✓" : "⚠",
get_name (obj));
+G_GNUC_END_IGNORE_DEPRECATIONS
}
g_string_append (string, "\n");
}